﻿import QtQuick 2.0
import QtQuick.Controls 1.2
import QtQuick.Controls.Styles 1.2
import QtQuick.Layouts 1.1

Rectangle {
    id: rectangle1
    color:"transparent"//Qt.rgba(97/255,178/255,244/255,1)
    anchors.fill: parent
    width: 400
    height: 600
    property int columnWidth: 120

    ColumnLayout{
        anchors.horizontalCenter: parent.horizontalCenter
        anchors.bottom: parent.bottom
        anchors.top: parent.top
        anchors.topMargin: 20
        spacing: 30

        SpinBox {
            value: 10
            implicitWidth: columnWidth
        }
        SpinBox {
            id: spinbox
            decimals: 2
            implicitWidth: columnWidth
        }
        SpinBox {
            implicitWidth: columnWidth
            style: SpinBoxStyle{
                background: Rectangle {
                    implicitWidth: 100
                    implicitHeight: 20
                    border.color: "gray"
                    radius: 2
                }
                horizontalAlignment:Qt.AlignHCenter
            }
        }


        Item{
            Layout.fillHeight: true;
        }
    }

}
